TracingDomain

class TracingDomain : Domain

TracingDomain represents Tracing protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

bufferUsage
Link copied to clipboard
fun bufferUsage(): Flowable<BufferUsageEvent>
Returns observable capturing all Tracing.bufferUsage events.
dataCollected
Link copied to clipboard
fun dataCollected(): Flowable<DataCollectedEvent>
Contains an bucket of collected trace events.
description
Link copied to clipboard
fun description(): String
Returns domain description.
end
Link copied to clipboard
fun end(): Single<RequestResponseFrame>
Stop trace events collection.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getCategories
Link copied to clipboard
fun getCategories(): Single<GetCategoriesResponse>
Gets supported tracing categories.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
name
Link copied to clipboard
fun name(): String
Returns domain name.
recordClockSyncMarker
Link copied to clipboard
fun recordClockSyncMarker(input: RecordClockSyncMarkerRequest): Single<RequestResponseFrame>
Record a clock sync marker in the trace.
requestMemoryDump
Link copied to clipboard
fun requestMemoryDump(input: RequestMemoryDumpRequest): Single<RequestMemoryDumpResponse>
Request a global memory dump.
start
Link copied to clipboard
fun start(input: StartRequest): Single<RequestResponseFrame>
Start trace events collection.
tracingComplete
Link copied to clipboard
fun tracingComplete(): Flowable<TracingCompleteEvent>
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

Sources

jvm source
Link copied to clipboard